package com.ciis.system.scrite.service.impl;

import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created with IntelliJ IDEA.
 * User: zhangdajun
 * Date: 14-4-25
 * Time: 上午9:18
 * To change this template use File | Settings | File Templates.
 */
public class BeforeInterceptor extends HandlerInterceptorAdapter {

    // 可以做超时处理
    public boolean preHandle(HttpServletRequest request,HttpServletResponse response, Object handler) throws Exception{
        System.out.println("执行前处理");
        return true;
    }
}
